home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / BBS-Archive / Comm / AmiTCP30b2.lha / src / compile.lib < prev    next >
AmigaDOS Script File  |  1994-05-02  |  1KB  |  53 lines

  1. .key DEST,INCLUDE/K,INSTALL/S,TARGET/F/K
  2. ;;; $Id: compile.lib,v 1.4 1994/05/02 19:27:00 jraja Exp $
  3. ;;;
  4. ;;; Compile NETLIB and USRLIB for SAS C
  5. ;;;
  6. ;;; Copyright (c) 1993 AmiTCP-Group, <AmiTCP-Group@hut.fi>
  7. ;;;                    Helsinki University of Technology, Finland.
  8. ;;;
  9. ;;; Created      : Thu Oct 14 01:59:00 1993 ppessi
  10. ;;; Last modified: Wed Mar  9 11:39:50 1994 jraja
  11. ;;;
  12. ;;; $Log: compile.lib,v $
  13. ;;; Revision 1.4  1994/05/02  19:27:00  jraja
  14. ;;; removed usrlib compilation.
  15. ;;;
  16. ;;; Revision 1.3  1994/03/09  09:42:17  jraja
  17. ;;; Added rpclib compilation.
  18. ;;;
  19. ;;; Revision 1.2  1994/02/25  15:15:05  ppessi
  20. ;;; Added usrlib subdirectory
  21. ;;;
  22. ;;; Revision 1.1  1993/11/23  18:43:12  ppessi
  23. ;;; Initial revision
  24. ;;;
  25. .bra {
  26. .ket }
  27. .def DEST "AmiTCP:"
  28.  
  29. If NOT {INCLUDE$IsNotGiven} EQ IsNotGiven
  30.     If Exists "{INCLUDE}" 
  31.     assign netinclude: {INCLUDE}
  32.     ENDIF
  33. Else
  34.     Assign Netinclude: exists > nil:
  35.     If WARN 
  36.     echo "The NETINCLUDE: does not exist"
  37.     echo "Can't continue"
  38.     quit
  39.     Endif
  40. Endif
  41.  
  42. cd netlib
  43. If NOT {INSTALL$Z} EQ Z
  44.     smake -k DEST={DEST} INSTALL-ALL {TARGET$ALL}  
  45. Else
  46.     smake -k DEST={DEST} {TARGET$ALL}  
  47. Endif
  48. cd /
  49.  
  50. cd rpclib
  51. smake -k DEST={DEST} {INSTALL} {TARGET} 
  52. cd /
  53.